<?php


include_once "../../F/App.php";
include_once "../cfg/main.php";

if(!session_start()) {
    die("Failed to start session!");
}

if(!F_DB::initialize(new F_DB_Driver_MYSQL, DB_HOST, DB_USER, DB_PASSWORD, DB_NAME)) {
    die('can\'t connect database!');
}

F_App::instance()->run();

